<f:if condition="{model.showElement}">
	<li class="csc-form-{model.elementCounter} csc-form-element csc-form-element-{model.elementTypeLowerCase}">
		<label for="{model.additionalArguments.id}">
			{model.additionalArguments.label}
			<f:if condition="{model.mandatoryValidationMessages}">
				<em><f:for each="{model.mandatoryValidationMessages}" as="mandatoryValidationMessage" iteration="iterator">{mandatoryValidationMessage}<f:if condition="{iterator.isLast}"><f:else> - </f:else></f:if></f:for></em>
			</f:if>
			<f:if condition="{model.validationErrorMessages}">
				<strong><f:for each="{model.validationErrorMessages}" as="errorValidationMessage" iteration="iterator">{errorValidationMessage}<f:if condition="{iterator.isLast}"><f:else> - </f:else></f:if></f:for></strong>
			</f:if>
		</label>

		<f:if condition="{model.additionalArguments.multiple}">
			<f:then>
				<f:form.checkbox
					class="{model.additionalArguments.class}"
					dir="{model.additionalArguments.dir}"
					id="{model.additionalArguments.id}"
					lang="{model.additionalArguments.lang}"
					style="{model.additionalArguments.style}"
					title="{model.additionalArguments.title}"
					accesskey="{model.additionalArguments.accesskey}"
					tabindex="{model.additionalArguments.tabindex}"
					onclick="{model.additionalArguments.onclick}"

					name="{model.additionalArguments.prefix}[{model.additionalArguments.name}][{model.name}]"
					value="<f:if condition='{model.additionalArguments.value}'><f:then>{model.additionalArguments.value}</f:then><f:else>{model.additionalArguments.name}-{model.elementCounter}</f:else></f:if>"

					checked="{model.additionalArguments.checked}"

					errorClass="{model.additionalAttributes.errorClass}"
					additionalAttributes="{model.htmlAttributes}"
				/>
			</f:then>
			<f:else>
				<f:form.checkbox
					class="{model.additionalArguments.class}"
					dir="{model.additionalArguments.dir}"
					id="{model.additionalArguments.id}"
					lang="{model.additionalArguments.lang}"
					style="{model.additionalArguments.style}"
					title="{model.additionalArguments.title}"
					accesskey="{model.additionalArguments.accesskey}"
					tabindex="{model.additionalArguments.tabindex}"
					onclick="{model.additionalArguments.onclick}"

					name="{model.additionalArguments.prefix}[{model.additionalArguments.name}]"
					value="<f:if condition='{model.additionalArguments.value}'><f:then>{model.additionalArguments.value}</f:then><f:else>{model.additionalArguments.name}-{model.elementCounter}</f:else></f:if>"

					checked="{model.additionalArguments.checked}"

					errorClass="{model.additionalAttributes.errorClass}"
					additionalAttributes="{model.htmlAttributes}"
				/>
			</f:else>
		</f:if>
	</li>
</f:if>
